<template>
  <RecursiveMenuComponent :authMenuList="authMenuList"></RecursiveMenuComponent>
</template>
<script setup>
import RecursiveMenuComponent from '@/components/RecursiveMenuComponent.vue'
import { computed } from 'vue'
import { userInfoStore } from '@/store/userInfoStore'
// 菜单
const userInfo = userInfoStore()
// 菜单计算属性
const authMenuList = computed(() => userInfo.userMenu)
</script>